<?php

namespace UF\AccountBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * UF\AccountBundle\Entity\nationality
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class Nationality
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string $name
     *
     * @ORM\Column(name="name", type="string", length=255, unique=true)
     */
    private $name;

    //Getters and setters
    public function getId()    {        return $this->id;    }
    public function setName($name)    {        $this->name = $name;    }
    public function getName()    {        return $this->name;    }
    
    public function __toString(){
    	return $this->name;
    }
    
}